<template>
  <section style="padding: 20px;">
    <button @click="open">
      唤起 Pet 精灵
    </button>
  </section>
</template>
<script>
import NativeModule from '@/native';
export default {
  name: 'Home',

  methods: {
    open() {
      const { open } = NativeModule.native.system;
      open('/Applications/PPet.app');
    }
  }
};
</script>